/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.su;

/**
 * <p>Project: jse2204 - A
 * <p>Powered by webrx On 2022-09-16 09:52:21
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class A {
    public String name = "李四";
    public String address = "郑州";

}


class B extends A{
    public String name = "张三丰";
    public int age = 18;

    public void show(){
        System.out.println(super.address);
        System.out.println(address);
        System.out.println(this.address);

        System.out.println(name);
        System.out.println(this.name);
        System.out.println(super.name);

        System.out.println(age);
        System.out.println(this.age);
    }
}
